package cn.aylog.po;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Data
@Component
//@EnableConfigurationProperties
//@ConfigurationProperties(prefix = "user")
//@PropertySource(value = "custom.properties", encoding = "utf-8")
public class User {
    private String name;
    private Integer age;
}
